package com.ag.exception;

public class EntityNotFoundException extends CodeException {
	final static String TIPS = "找不到实体";

	public EntityNotFoundException() {
		super(CommonCode.ENTITY_NOTFOUND_EXCEPTION, TIPS);
	}
	
	public EntityNotFoundException(String msg) {
		super(CommonCode.ENTITY_NOTFOUND_EXCEPTION, msg, msg);
	}
	
	public EntityNotFoundException(String msg, Object obj) {
		super(CommonCode.ENTITY_NOTFOUND_EXCEPTION, msg, "根据主键" + obj + "找不到实体");
	}
	
	/**描述*/  
	private static final long serialVersionUID = 1L;
}
